package com.iphanta.community.following.traffic;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.iphanta.community.common.Number2StringJsonSerializer;
import com.iphanta.community.common.entity.Page;
import com.iphanta.community.following.traffic.vo.DynamicComment;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author 墨声 E-mail: zehong.hongframe.huang@gmail.com
 * create time: 2/22/22 3:54 PM
 */
@Data
@ToString
public class DynamicCommentsResponse {

    @JsonSerialize(using = Number2StringJsonSerializer.class)
    private Long cursor;

    private Integer total;

    /**
     * 评论列表
     */
    private List<DynamicComment> comments;

}
